package xin.lhuo.we.server.entity;

import lombok.Data;
import lombok.ToString;

/**
 * @author Lhuo
 * @date 2019/5/23 16:19
 */
@Data
@ToString
public class BaiDuLocation {
    private String address;
    private ContentBean content;
    private int status;

    @Data
    @ToString
    public static class ContentBean {
        private String address;
        private AddressDetailBean address_detail;
        private PointBean point;

        @Data
        @ToString
        public static class AddressDetailBean {
            private String city;
            private int city_code;
            private String district;
            private String province;
            private String street;
            private String street_number;
        }

        @Data
        @ToString
        public static class PointBean {
            private String x;
            private String y;
        }
    }
}
